<div class = "main-view"><!--最外层div-->
    <div class="left-margin top-margin"><strong class="am-text-primary am-text-lg">系统日志</strong></div>

    <form class="am-form-inline left-margin top-margin" role="form">
        <div class="am-form-group">
            <label>用户名</label> <input type="text" class="am-form-field" ng-model="desc">
        </div>
        <button type="submit" class="am-btn am-btn-primary" ng-click="search()">搜索</button>
    </form>
    <br>


    <div id = "pagination" class = "pagination"></div>
    <div class="pagination-table left-margin" id="tab_menu" style = "margin-top: 0px;">
        <form class="am-form">
            <table class="am-table-striped am-table-hover table-main">
                <thead>
                <tr>
                    <th class="table-check"><input type="checkbox" ng-click="allSelected()"></th>
                    <th class="table-id">记录ID</th>
                    <th class="table-title">URL</th>
                    <th class="table-title">IP</th>
                    <th class="table-id">用户ID</th>
                    <th class="table-title">用户名</th>
                    <th class="table-title">请求时间</th>

                </tr>
                </thead>
                <tbody>
                <tr ng-repeat="log in logList" id = "{{log.logID}}">
                    <td class="table-check"><input type="checkbox" class = "item-check"></td>
                    <td>{{log.logID}}</td>
                    <td>{{log.path}}</td>
                    <td>{{log.ip}}</td>
                    <td>{{log.userID}}</td>
                    <td>{{log.username}}</td>
                    <td>{{log.dateCreated | date:'yyyy-MM-dd HH:mm:ss'}}</td>

                </tr>
                </tbody>
            </table>
        </form>
    </div>


</div>